<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class View extends CI_Controller {
    
    public function __construct()
    {
            parent::__construct();
            $this->load->model('cities_model');
    }    
    
    public function cities( $city_id )
    {     
        
        $builder = new CI_TemplateBuilder();        
        $data['city_row'] = $this->cities_model->get_row( $city_id );                
        $data['title'] = 'View City';       
        
        $builder->admin_template_builder('cities/view' , $data);
    }
        
        
    
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */